import random
a = int(input())
right = 0
for i in range(a):
    shotx = random.randint(-100,100)
    shoty = random.randint(-100, 100)
    if (shotx >= -7 and shotx <= 5) and (shoty >= -8 and shoty <= 5):
        right = right + 1
print("Колличество выстрелов:",a)
print("Колличество попаданий:",right)
